package com.sun.sundemo.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author zhangquanwei
 * @version 1.0
 * @since 2025-01-24 10:24
 */
@Data
@Component
public class AppProperties {

    @Value("${app.blog.name}")
    private String appName;

    @Value("${app.blog.title}")
    private String appTitle;
}
